<template>
  <div class="m-left">
    <ul>
      <div class="f16 title bs">
          {{leftTitle.bigTitle}}
      </div>
      <router-link :to="item.route" tag="li" activeClass="subActive" class="bs" v-for="(item, index) in leftTitle.smallTitle" :key="index">
          <a href="javascript:;" class="classfy f14" :title="item.routeTitle"><img class="tjimg" src="@/assets/images/2.png" >{{item.routeTitle}}</a>
      </router-link>
    </ul>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },
  props: ['left-title']
}
</script>

<style lang="scss" scoped>
.m-left{
  text-align: left;
  .title{
    border-bottom:3px solid #e90013;
    margin-bottom: 10px;
    font-weight: 600;
    padding:0 0 5px 20px;
    color: #df0707;
  }
  .subActive{
    background: #f2e0e0;
    border-left: 5px solid #e90013;
    padding-left: 7px;
  }
  li{
    line-height: 40px;
    padding-left: 12px;
    border-bottom: solid #e1e1e1 1px;
    .classfy{
      color: black;
      .tjimg{
        width: 9px;
        height: 12px;
        margin-right: 30px;
      }
      &:hover{
        color: #CC6600;
      }
    }
  }
}
</style>
